using System;
using System.Collections.Generic;
using System.Text;
using YakShaver.WCSF.BuildManager;

namespace YakShaver.WCSF.BuildManager.Tests.Mocks
{
    public class MockBuildManagerController : IBuildManagerController
    {
        #region IBuildManagerController Members
        public int GetProjectsCallCount = 0;

        public IList<YakShaver.WCSF.BuildManager.Interface.BusinessEntities.IProject> GetProjects()
        {
            GetProjectsCallCount++;
            return new List<YakShaver.WCSF.BuildManager.Interface.BusinessEntities.IProject>();
        }

        #endregion

        #region IBuildManagerController Members

        public int GetProjectBuildsCallCount;
        public IList<YakShaver.WCSF.BuildManager.Interface.BusinessEntities.IProjectBuild> GetProjectBuilds(string projectId)
        {
            GetProjectBuildsCallCount++;
            return new List<YakShaver.WCSF.BuildManager.Interface.BusinessEntities.IProjectBuild>();
        }

        public int CreateSandboxCallCount;
        public YakShaver.WCSF.BuildManager.Interface.BusinessEntities.IProjectSandbox CreateSandbox(YakShaver.WCSF.BuildManager.Interface.BusinessEntities.IProjectBuild projectBuild)
        {
            CreateSandboxCallCount++;
            return null;
        }

        #endregion
    }
}
